
package com.hlkj.pay.app.ad;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import com.hlkj.framework.common.pojo.CommonResult;
import com.hlkj.pay.vo.ad.req.AdInfoConfigReq;
import com.hlkj.pay.vo.ad.req.AdInfoReq;
import com.hlkj.pay.vo.ad.req.UpdateStatusReq;

/**
 * @author HlpayTeam
 * @date 2024/10/22 18:25
 */
public interface IAdAppService {

    /**
     *
     * @param adInfoReq
     * @return
     */
    CommonResult<Void> saveAd(AdInfoReq adInfoReq);

    /**
     *
     * @param adInfoReq
     * @return
     */
    CommonResult<Void> updateAd(AdInfoReq adInfoReq);

    /**
     *
     * @param id
     * @return
     */
    CommonResult<Void> delAd(Long id);

    /**
     *
     * @param updateStatusReq
     * @return
     */
    CommonResult<Void> updateAdStatus(UpdateStatusReq updateStatusReq);

    /**
     * 
     * @param adInfoConfigReq
     * @return
     */
    CommonResult<Void> updateAdConfig(AdInfoConfigReq adInfoConfigReq);
}
